home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 2000 October / Software of the Month - Ultimate Collection Shareware 277.iso / pc / PROGRAMS / UTILITY / WINLINUX / DATA1.CAB / programs_-_kernel_source / INIT / VERSION.C < prev   
C/C++ Source or Header  |  1999-09-17  |  614b  |  27 lines

  1. /*
  2.  *  linux/version.c
  3.  *
  4.  *  Copyright (C) 1992  Theodore Ts'o
  5.  *
  6.  *  May be freely distributed as part of Linux.
  7.  */
  8.  
  9. #include <linux/uts.h>
  10. #include <linux/utsname.h>
  11. #include <linux/version.h>
  12. #include <linux/compile.h>
  13.  
  14. #define version(a) Version_ ## a
  15. #define version_string(a) version(a)
  16.  
  17. int version_string(LINUX_VERSION_CODE) = 0;
  18.  
  19. struct new_utsname system_utsname = {
  20.     UTS_SYSNAME, UTS_NODENAME, UTS_RELEASE, UTS_VERSION,
  21.     UTS_MACHINE, UTS_DOMAINNAME
  22. };
  23.  
  24. const char *linux_banner = 
  25.     "Linux version " UTS_RELEASE " (" LINUX_COMPILE_BY "@"
  26.     LINUX_COMPILE_HOST ") (" LINUX_COMPILER ") " UTS_VERSION "\n";
  27.